package org.thanos.demo.file;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface FileService {

    String uploadFile(MultipartFile file) throws IOException;

    void downloadFile(String objectId, HttpServletRequest request, HttpServletResponse response) throws Exception;
}
